<style><!--
div.notes{color:gray;}
--></style>
<c:choose>
	<c:when test="${model.loggedinUser != null}">
<h1>Welcome, ${model.loggedinUser.userName}</h1>
<ul>
		<li><a href="<%=request.getContextPath()%>">Home</a></li>
		<li><a href="<%=request.getContextPath()%>/${model.loggedinUser.userName}">My Home</a>
<div class="notes">
Demo for dynamic controller.
</div></li>
		<li><a href="<%=request.getContextPath()%>/accounts">Accounts</a></li>
		<li><a href="<%=request.getContextPath()%>/accounts/doLogout">Logout</a></li>
	</c:when>
	<c:otherwise>
<h1>Welcome, Guest</h1>
<ul>
		<li><a href="<%=request.getContextPath()%>">Home</a></li>
		<li><a href="<%=request.getContextPath()%>/accounts/login">Login</a></li>
	</c:otherwise>
</c:choose>
</ul>
<hr/>
You are here: ${location}
<%@ include file="statusmessage.jsp" %>
<hr style="clear:both;"/>